/*
 * @(#)Disambiguation.java	1.0 09/01/07
 *
 * Copyright 2007 Fabio Gasparetti. All rights reserved.
 */

package org.tabularium.text.nlp;

import org.tabularium.text.nlp.wordnet.*;

/**
 * Retrieves the senses related to the words in a given text.
 * 
 * @author Fabio Gasparetti
 * @version 1.0, 09/01/07
 */
public abstract class Disambiguation {

	/**
	 * Returns a weighted list of synsets that represent the concepts 
	 * of the given text. The weights should be normalized in the [0,1]
	 * interval.
	 */
	public abstract WeightedSynset[] disambiguate(String text);

	/**
	 * Returns a weighted list of synsets that represent the concepts 
	 * of the given sequence of tags.
	 */
	public abstract WeightedSynset[] disambiguate(Tag[] tags);
}
